package com.example.lotterysystem.service.dto;

import com.example.lotterysystem.controller.param.FindActivityListResult;
import com.example.lotterysystem.service.enums.ActivityStatusEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ActivityDTO implements Serializable {


    private Long activityId;
    private String activityName;
    private String description;
    private ActivityStatusEnum status;

    public boolean valid(){
        return status.equals(ActivityStatusEnum.RUNNING);
    }

}
